// 路由加载进度条
import NProgress from "nprogress";
import "nprogress/nprogress.css";

NProgress.configure({ showSpinner: false });

export default {
  // 开始加载
  start: () => NProgress.start(),
  // 结束加载
  end: () => NProgress.done(),
};
